package com.lanou3g.k12.service;

import com.github.pagehelper.Page;
import com.lanou3g.k12.entity.Course;

import java.util.List;


public interface CourseService {
    List<Course> findAllCourse(Integer page,Integer size);

    List<Course> search(Integer page, String keyword, Integer size);

    void deleteSomeCourse(Long[] ids);

    Course searchByID(Long id);

    void insertCourse(Course course);

    void updateCourse(Long id, Course course);

    void deleteOneCourse(Long id);

    void updateAfterCourse(Integer sort);


}
